﻿namespace FFF.Test.Entity.FW
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Domain.Entities;
    using Abp.AutoMapper;
    using FFF.Test.Entity.FW.View;
    using FFF.Test.Entity.Framework.Entity;

	/// <summary>
    /// 流水号设置表
    /// </summary>
	[Table("FW_SeedSet")]
    [Display(Name = "流水号设置表", Description = "流水号设置表")]
    [AutoMapFrom(typeof(ViewFWSeedSet))] 
    public partial class FWSeedSetEntity : BaseEntity<Guid>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("SeedSetGUID")]
        [Display(Name = "流水号设置表主键", Description = "流水号设置表主键")]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public override Guid Id { get; set; }

		/// <summary>
        /// 流水号设置表的名称
        /// </summary>
		[Display(Name = "流水号设置表的名称", Description = "流水号设置表的名称")]
        [Column("SeedSetTableName")]
		[StringLength(128)]
        public string SeedSetTableName { get; set; }   

		/// <summary>
        /// 流水号设置前缀
        /// </summary>
		[Display(Name = "流水号设置前缀", Description = "流水号设置前缀")]
        [Column("SeedSetPrefix")]
		[StringLength(64)]
        public string SeedSetPrefix { get; set; }   

		/// <summary>
        /// 流水号设置位数
        /// </summary>
		[Display(Name = "流水号设置位数", Description = "流水号设置位数")]
        [Column("SeedSetNum")]
        public int SeedSetNum { get; set; }   

		/// <summary>
        /// 计数器
        /// </summary>
		[Display(Name = "计数器", Description = "计数器")]
        [Column("SeedSetCount")]
        public int SeedSetCount { get; set; }   

		/// <summary>
        /// 当天日期
        /// </summary>
		[Display(Name = "当天日期", Description = "当天日期")]
        [Column("SeedSetCurrentDate")]
		[StringLength(128)]
        public string SeedSetCurrentDate { get; set; }   
    }
}
